const mongoose = require('mongoose')
const Schema = mongoose.Schema
const { ObjectId, Number, Boolean, Date, String } = Schema.Types

const ShopCart = Schema({
    cartid: ObjectId,
    userid: ObjectId,
    proid: ObjectId,
    num: Number,
    flag: Boolean,
    time: Date,
    size: String
})

module.exports = ShopCart
